@charset "utf-8";

.kh-container {
  width: 100%;
  height: 100%;
}

.kh-login {
  width: 100%;
  height: 100%;
  background-image:  url("../../src/blog-img/login-bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.kh-login-wrap {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.kh-login-body {
  position: relative;
  width: 400px;
  height: 470px;
  background-image: url("../../src/blog-img/login-rhomb.png");
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center;

  .kh-login-top {
    text-align: center;

    a {
      display: inline-block;
      width: 128px;
      height: 58px;
      margin-top: 46px;
      background-image: url("../../src/blog-img/logo.png");
      background-size: 100%;
      background-repeat: no-repeat;
      background-position: center;
    }
  }

  .kh-login-bottom {
    text-align: center;

    a {
      font-size: 14px;
      color: #000;
      text-decoration: underline;
      text-indent: 2px;
      letter-spacing: 2px;
      display: inline-block;
      transition: all .3s;

      &:hover {
        color: #20d2ad;
      }
    }
  }
}

.kh-login-main {
  margin: 0 auto;
  padding: 20px 40px;
  box-sizing: border-box;

  input {
    width: 100%;
    height: 40px;
    border-radius: 22px;
    overflow: hidden;
    outline: 0;
    border: hidden;
    margin-bottom: 26px;
    padding: 0 22px;
    background-color: #FFF;
  }

  .kh-login-btn {
    color: #FFF;
    outline: 0;
    display: block;
    width: 100%;
    height: 40px;
    line-height: 40px;
    border-radius: 22px;
    margin-bottom: 26px;
    text-align: center;
    text-indent: 10px;
    letter-spacing: 10px;
    background-color: #1fd1ae;

    &:hover {
      box-shadow: 0 0 16px #1fd1ae;
    }
  }
}


// checkbox - layout
input[type='checkbox'] {
  display: none;
}

.kh-checkbox {
  font-size: 14px;
  padding-left: 20px;
  position: relative;
  cursor: pointer;

  &:before {
    content: '';
    position: absolute;
    top: 1px;
    left: 0;
    width: 14px;
    height: 14px;
    border: 1px solid #FFF;
    border-radius: 2px;
  }

  &:after {
    content: '';
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    width: 16px;
    height: 14px;
    background-image: url("../../src/blog-img/yes.png");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
  }
}

input[type="checkbox"]:checked+label:after{
  display: block;
}

// error -style
.kh-err-msg {
  position: fixed;
  //top: -50px;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 20px;
  text-align: center;
  background-color: red;
  color: #FFF;
}


















